import Layout from "@/layout";
const datas0 = [
  {
    path: "/form",
    component: Layout,
    redirect: "/form/index",
    meta: {
      title: "团队管理",
      icon: "nested",
    },
    children: [
      {
        path: "index",
        name: "Index",
        component: () => import("@/views/form/index"),
        meta: { title: "团队成员汇总", icon: "form" },
      },
      {
        path: "test",
        name: "Test",
        component: () => import("@/views/form/testDemo"),
        meta: { title: "团队架构", icon: "form" },
      },
    ],
  },
  {
    path: "/project",
    component: Layout,
    meta: {
      title: "项目管理",
      icon: "nested",
    },
    children: [
      {
        path: "index",
        name: "Index",
        component: () => import("@/views/project/index"),
        meta: { title: "项目汇总表", icon: "form" },
      },
      {
        path: "test",
        name: "test",
        component: () => import("@/views/project/adminWork"),
        meta: { title: "工时审批", icon: "form" },
      },
    ],
  },
  { path: "*", redirect: "/404", hidden: true },
];

export { datas0 };
